package main

import(
	"fmt"
)

func main()  {
	var a map[string] int
	if a == nil{
		a = make(map[string]int,16)
		a["stu01"] = 1000
		a["stu02"] = 2000
		a["stu03"] = 3000
		fmt.Printf("a=%#v\n",a)
		delete(a,"stu02")
		fmt.Printf("a=%#v\n",a)

		for key,_:=range a{
			delete(a,key)
		}
		fmt.Printf("a=%#v\n",a)

	}
	
}